package com.cash.loan.common.util;

import com.cash.loan.core.util.SpringContextHolder;


/**
 * redis静态工具类
 * 
 * @author yangbo
 * @version 2018-07-10
 */
public class JedisUtils {

	private static RedisUtil redisUtil = SpringContextHolder.getBean(RedisUtil.class);

	/**
	 * 通过key获得value
	 * @param key
	 * @return
	 */
	public static String get(String key) {
		return (String) redisUtil.get(key);
	}

}
